<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>后台 - 内容管理系统</title>
<link rel="stylesheet" href="./css/dashicons.css">
<link rel="stylesheet" href="./css/layout.css">
<script src="./js/jquery.min.js"></script>
</head>
<body>
<!-- 顶部导航 -->
<div class="top">
	<div class="top-title icon-home">内容管理系统</div>
	<div class="top-right">
		<a href="#">您好，<?=$user['name']?></a><a href="../" target="_blank">前台首页</a><a href="login.php?a=logout&token=<?=TOKEN?>">退出</a>
	</div>
</div>
<!-- 主要区域 -->
<div class="main">
<!-- 左侧导航 -->
<div class="nav">
	<div class="photo icon-admin"><?=$user['name']?></div>
	<a target="panel" href="./cp_index.php" class="jq-nav icon-index curr">主页</a>
	<a target="panel" href="./cp_article_edit.php" class="jq-nav icon-add">发布文章</a>
	<a target="panel" href="./cp_article.php" class="jq-nav icon-article">文章管理</a>
	<a target="panel" href="./cp_category.php" class="jq-nav icon-category">栏目管理</a>
	<script>
		//单击链接，按钮高亮
		$(".jq-nav").click(function(){
			$(this).addClass("curr").siblings().removeClass("curr");
		});
	</script>
</div>
<!-- 内容区域 -->
<div class="content">
	<iframe src="./cp_index.php" frameborder="no" name="panel"></iframe>
</div>
</div>
</body>
</html>